package com.qidian.server.servlet;

import java.util.HashMap;

public abstract class ServletConstants {
	
	
	// 参数名
	public static String arg_action_type = "actionType" ;
	public static String arg_user_name = "userName" ;
	public static String arg_password = "password" ;
	public static String arg_new_password = "newPassword" ;
	public static String arg_point = "point" ;
	public static String arg_file = "filePath" ;
//	public static String arg_mask_code = "maskCode" ;
	public static String arg_msg_id = "msgId" ;
	public static String arg_account = "account" ;
	public static String arg_status = "status" ;
	public static String arg_client_id = "clientId" ;
	public static String arg_answers = "answers" ;
	public static String arg_answer = "answer" ;
	public static String arg_start = "start" ;
	public static String arg_end = "end" ;
	public static String arg_interval = "interval" ;
	public static String arg_game_type = "gameType" ;
	public static String arg_page_no = "pageNo";
	public static String arg_valid_code_id = "validCodeId" ;
	public static String arg_valid_code_answer = "validCodeAnswer" ;
//	public static String arg_recharge_code = "rechargeCode";
	public static String arg_valid_date = "validDate" ;
	public static String arg_batch_size = "batchSize" ;
	public static String arg_min_valid_date = "minValidDate" ;
	public static String arg_max_valid_date = "maxValidDate" ;
	public static String arg_min_left_point = "minLeftPoint" ;
	public static String arg_max_left_point = "maxLeftPoint" ;
	public static String arg_min_point = "minPoint" ;
	public static String arg_max_point = "maxPoint" ;
	public static String arg_recharge_card = "rechargeCard" ;
	public static String arg_type = "type" ;
	public static String arg_file_name = "fileName" ;
	public static String arg_filter_right = "filterRight";
	public static String arg_msg_count = "msgCount" ;
	public static String arg_qq = "qq" ;
	public static String arg_email = "email" ;
	public static String arg_game_description = "gameDescription" ;
	public static String arg_answer_type = "answerType" ;
	public static String arg_answer_len = "answerLen" ;
	public static String arg_point_worker = "pointWorker" ;
	public static String arg_ip = "ip";
	public static String arg_mode = "mode" ;
	public static String arg_max_msg_local = "maxMsgLocal" ;
	public static String arg_account_a = "accountA" ;
	public static String arg_account_b = "accountB" ;
	public static String arg_min_send_time = "minSendTime" ;
	public static String arg_max_send_time = "maxSendTime" ;
	public static String arg_client_name = "clientName" ;
	public static String arg_trans_threshold = "transThreshold" ;
	public static String arg_user_id = "userId" ;
	public static String arg_point_ratio_0008 = "pointRatio0008" ;
	public static String arg_point_ratio_0816 = "pointRatio0816" ;
	public static String arg_point_ratio_1624 = "pointRatio1624" ;
	public static String arg_name = "name" ;
	public static String arg_phone = "phone" ;
	public static String arg_port_tcp = "portTcp" ;
	public static String arg_port_udp = "portUdp" ;
	public static String arg_port_http = "portHttp" ;
	public static String arg_host_url = "hostURL" ;
	public static String arg_ip_ctc = "ipCtc" ;
	public static String arg_ip_cucc = "ipCucc" ;
	public static String arg_ip_cmcc = "ipCmcc" ;
	public static String arg_ip_other = "ipOther" ;
	public static String arg_protocol = "protocol" ;
	public static String arg_trans_on = "transOn" ;
	public static String arg_operation = "operation" ;
	public static String arg_operator = "operator" ;
	public static String arg_operat_A = "operaA" ;
	public static String arg_operat_B = "operaB" ;
	public static String arg_min_recharge_time = "minRechargeTime" ;
	public static String arg_max_recharge_time = "maxRechargeTime" ;
	public static String arg_zhifubao = "zhifubao" ;
	public static String arg_return_ratio = "returnRatio" ;
	public static String arg_return_user = "returnUser" ;
	public static String arg_return_point = "returnPoint" ;
	public static String arg_trans_type = "transType" ;
	public static String arg_difficulty = "difficulty";
	public static String arg_key = "key" ;
	public static String arg_min_stastic_time = "minStasticTime" ;
	public static String arg_max_stastic_time = "maxStasticTime" ;
	public static String arg_msg_ids = "msgIds" ;
	public static String arg_account1 = "account1" ;
	
	// 属性名
	public static String attr_client = "client" ;
//	public static String attr_user = "user";	
	
	// Session 变量名
//	public static String s_attr_userId = "userId";
	public static String s_attr_validate_code = "validatecode" ;
	public static String s_attr_user = "user" ;
	public static String s_attr_guest = "guest" ;
	public static String s_attr_account = "account" ;
	public static String s_attr_key = "key" ;
	public static String s_attr_client = "client" ;
	
	
    public static HashMap<String,String> contentTypeMapping = new HashMap<String,String>() ;
    static
    {
        contentTypeMapping.put("image/jpg","jpg") ;
        contentTypeMapping.put("image/jpeg","jpeg") ;
        contentTypeMapping.put("image/gif","gif") ;
        contentTypeMapping.put("image/bmp","bmp") ;
        contentTypeMapping.put("image/png", "png") ;
        
        contentTypeMapping.put("png","image/png") ;
        contentTypeMapping.put("jpg","image/jpg") ;
        contentTypeMapping.put("jpeg","image/jpeg") ;
        contentTypeMapping.put("gif","image/gif") ;
        contentTypeMapping.put("bmp","image/bmp") ;
        contentTypeMapping.put("", "image/");
    }


}
